package cn.stylefeng.guns.modular.gridsystem.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 阈值配置项
 *
 * @author ssy
 * @date 2021/09/14 11:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("biz_threhold_item")
public class BizThreholdItem extends BaseEntity {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 网关id
     */
    @TableField("gateway_id")
    private Integer gatewayId;

    /**
     * 网关通道
     */
    @TableField("gateway_channel")
    private String gatewayChannel;

    /**
     * 阈值分数
     */
    @TableField("threshold_value")
    private String thresholdValue;

}
